﻿namespace BlackHole.DAO
{
    using System;

    /// <summary>
    /// 记录对象 用于导入数据
    /// </summary>
    [Serializable]
    public class ImportRecord
    {
        /// <summary>
        /// 网点ID
        /// </summary>
        public int OwnerId 
        {
            get; set; 
        }

        /// <summary>
        /// 产品ID
        /// </summary>
        public int ProductId
        { 
            get; set;
        }

        /// <summary>
        /// 设备ID
        /// </summary>
        public int ProductDeviceId
        { 
            get; set;
        }

        /// <summary>
        /// 产品序列号
        /// </summary>
        public string ProductSerialNO
        { 
            get; set;
        }

        /// <summary>
        /// 产品PSAM卡号
        /// </summary>
        public string ProductPsamNO 
        { 
            get; set;
        }

        /// <summary>
        /// 产品固件版本
        /// </summary>
        public string ProductRomVersion
        {
            get; set;
        }

        /// <summary>
        /// 报修故障ID
        /// </summary>
        public int RequestFaultId 
        { 
            get; set;
        }

        /// <summary>
        /// 实际故障ID
        /// </summary>
        public int RealFaultId 
        {
            get; set;
        }

        /// <summary>
        /// 入库事件
        /// </summary>
        public string InDate 
        {
            get; set;
        }

        /// <summary>
        /// 出库时间
        /// </summary>
        public string OutDate
        { 
            get; set;
        }

        /// <summary>
        /// 维修方法
        /// </summary>
        public string RepairMethod 
        {
            get; set;
        }

        /// <summary>
        /// 更换备件
        /// </summary>
        public string RepairGear 
        {
            get; set;
        }

        /// <summary>
        /// 是设备维修记录 活 是设备信息
        /// </summary>
        public bool IsRecord 
        {
            get; set;
        }

        /// <summary>
        /// 可以正常导入
        /// </summary>
        public bool IsImportable
        { 
            get; set;
        }
    }
}